$(function() {
	/*//注册三步走
	(function() {
		$('.rg-btn-step2').click(function(event) {
			$('.rg-step2').hide();
			$('.statu-num').addClass('pg-done');
			$('.statu-line').addClass('pg-done');
			$('.rg-step3').show();
			return false;
		});

		$('.step3').on('click', '.thumbnail', function(event) {
			if (this.dataset.toggle === undefined || this.dataset.toggle === 'yes') {
				$(this).addClass('rg-selected');
				this.dataset.toggle = 'no';
			} else {
				$(this).removeClass('rg-selected');
				this.dataset.toggle = 'yes';
			}
		});
	})();*/
	/*function globalTip(content) {
        var $tip = $.contains($('.pg-content'), $('.global-tip')) ? $('.globar') : $('<p class="alert alert-info global-tip">' + content + '<p>');
        $tip.show('400', function() {
            function tipShow() {
                $('.gloabal-tip').hide('slow');
            }
            setTimeout(tipShow, 2000);
        });
    }
	$('#rg-form').submit(function(event) {
		var canSub = errorCount.every(function(el, index) {
			return el;
		});
		if (canSub === false) {
			globalTip('请按提示填写信息，亲~');
			return false;
		}
	});*/
});